package org.ccay.async.config;

import org.springframework.beans.factory.xml.NamespaceHandlerSupport;

/**
 * Ccay名称空间处理器。
 * 	
 * 
 * @since Dec 12, 2011
 */
public class CcayNamespaceHandler extends NamespaceHandlerSupport {

	/* (non-Javadoc)
	 * @see org.springframework.beans.factory.xml.NamespaceHandler#init()
	 */
	public void init() {
		registerBeanDefinitionParser("conduits", new AsyncConduitConfigParser());
		registerBeanDefinitionParser("processor", new MessageProcessorConfigParser());
	}

}
